home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / µSim 1.1 / FabLibsƒ / GeneralUsage.r < prev    next >
Encoding:
Text File  |  1997-05-17  |  1.9 KB  |  103 lines  |  [TEXT/CWIE]

  1. /*
  2. Copyright © 1993-1995 by Fabrizio Oddone
  3. ••• ••• ••• ••• ••• ••• ••• ••• ••• •••
  4. This source code is distributed as freeware: you can copy, exchange, modify this
  5. code as you wish. You may include this code in any kind of application: freeware,
  6. shareware, or commercial, provided that full credits are given.
  7. You may not sell or distribute this code for profit.
  8. */
  9. #define SystemSevenOrLater 1
  10.  
  11. #include    "Types.r"
  12. #include    "BalloonTypes.r"
  13.  
  14. #include "StdAlert.r"
  15.  
  16. #include    "FabLibResIDs.h"
  17.  
  18.  
  19. resource 'STR ' (kSTR_EMAILADDR, purgeable) {
  20.     "Fabrizio Oddone <fab@kagi.com>"
  21. };
  22.  
  23. resource 'STR ' (kSTR_MAILTOURL, purgeable) {
  24.     "mailto:fab@kagi.com"
  25. };
  26.  
  27. resource 'STR ' (kSTR_WWWURLHOME, purgeable) {
  28.     "http://www.kagi.com/authors/fab/"
  29. };
  30.  
  31. resource 'STR ' (kSTR_WWWURLWHATSNEW, purgeable) {
  32.     "http://www.kagi.com/authors/fab/whatsnew.html"
  33. };
  34.  
  35. resource 'STR ' (kSTR_WWWURLREGISTERONLINE, purgeable) {
  36.     "http://www.kagi.com/authors/fab/howtoreg.html"
  37. };
  38.  
  39.  
  40.  
  41. resource 'hmnu' (kMENU_HCopyWebLocation, purgeable) {
  42.     HelpMgrVersion,
  43.     hmDefaultOptions,
  44.     0,
  45.     0,
  46.  
  47.         HMStringResItem {        /* item -1:Missing menu items */
  48.             1200,3,
  49.             0,0,
  50.             0,0,
  51.             0,0
  52.         },
  53.     {
  54.  
  55.         HMSkipItem { }
  56.     }
  57. };
  58.  
  59. resource 'hmnu' (kMENU_HVisitWebLocation, purgeable) {
  60.     HelpMgrVersion,
  61.     hmDefaultOptions,
  62.     0,
  63.     0,
  64.  
  65.         HMStringResItem {        /* item -1:Missing menu items */
  66.             1200,5,
  67.             0,0,
  68.             0,0,
  69.             0,0
  70.         },
  71.     {
  72.  
  73.         HMSkipItem { }
  74.     }
  75. };
  76.  
  77. #define NumTextLines        4
  78.  
  79. resource 'ALRT' (kALRT_FRONTIERSCRIPTERROR, purgeable) {
  80.     {AlertTop, AlertLeft, AlertBottom, AlertRight},
  81.     kALRT_FRONTIERSCRIPTERROR,
  82.     beepStages,
  83.     alertPositionMainScreen
  84. };
  85.  
  86. resource 'DITL' (kALRT_FRONTIERSCRIPTERROR, purgeable) {
  87.     {    /* array DITLarray: 2 elements */
  88.         /* [1] */
  89.         {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
  90.         Button {
  91.             enabled,
  92.             "OK"
  93.         },
  94.         /* [2] */
  95.         {TextTop, TextLeft, TextBottom, TextRight},
  96.         StaticText {
  97.             disabled,
  98.             "^0"
  99.         }
  100.     }
  101. };
  102.  
  103.